<?php
class IndexController extends Controller
{
	public function indexAction()
	{
		echo '<pre>';
		print_r($_GET);
		echo '<br/>';
		print_r($_SERVER);
		echo '<br/>';
		$request = Request::getInstance();
		echo 'PathInfo:', $request->getPathInfo(), '<br/>';
		echo 'BaseUrl:', $request->getBaseUrl(), '<br/>';
		echo 'RequestUri:', $request->getRequestUri(), '<br/>';
		$this->view->title = 'Index -> index <br/> Hello World <br/>';
	}
	
	public function testAction()
	{
		echo '<pre>';
		print_r($_GET);
		echo '<br/>';
		print_r($_SERVER);
		echo '<br/>';
		$request = Request::getInstance();
		echo 'PathInfo:', $request->getPathInfo(), '<br/>';
		echo 'BaseUrl:', $request->getBaseUrl(), '<br/>';
		echo 'RequestUri:', $request->getRequestUri(), '<br/>';
		echo 'Index -> test <br/> Hello World <br/>';
		exit;
	}
	
	public function verifyAction()
	{
		$image = Image::getInstance();
		$image->verify();
		exit;
	}
} 
